const express = require("express");
const router = express.Router();
const merchantsController = require("../controllers/merchantsController");

router.get("/", merchantsController.getList);
router.get("/regions", merchantsController.getRegions);
router.post("/:id/approve", merchantsController.approve);
router.post("/:id/reject", merchantsController.reject);

module.exports = router;
